import type { RouteRecordRaw } from "vue-router";

const carShopRoutes: RouteRecordRaw = {
  path: "CarShop",
  name: "carShopLayout",
  meta: {
    title: "汽车店",
  },
  children: [
    {
      path: "",
      name: "carShop",
      component: () => import("@/views/CarShop/CarShop.vue"),
      meta: {
        title: "汽车店",
      },
    },
    {
      path: "detail/:id",
      name: "carShopDetail",
      component: () => import("@/views/CarShop/Sub/CarShopDetail.vue"),
      meta: {
        title: "汽车店详情",
      },
    },
  ],
};
export default carShopRoutes;
